Re: Autonomous transaction

Поиск
Список
Период
Сортировка
От Dan Sugalski
Тема Re: Autonomous transaction
Дата
Msg-id a0611040abd6b7733c166@[10.0.1.5]
обсуждение исходный текст
Ответ на Autonomous transaction  (Daniel Daoust <daoustd_ca@yahoo.ca>)
Список pgsql-general
At 11:18 AM -0400 9/13/04, Daniel Daoust wrote:
>Hi, knowing that "autonomous transaction" (Oracle
>concept of) are not yet implemented in PostgreSQL, has
>anyone found a work-around. I need to preserve
>database states from a potential rollback and then log
>them inside database tables.

What I use for this is multiple DB connections. A rollback on one
connection doesn't (generally) affect any of the other connections,
so you can keep things separate and safe from rollbacks.

Note that you can deadlock yourself this way.
--
                Dan

--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk

В списке pgsql-general по дате отправления:

Предыдущее
От: "Jim Wilson"
Дата:
Сообщение: Re: problems returning a resultset from a function
Следующее
От: Fabien
Дата:
Сообщение: Index inheritance